package ygw.study.designPatterns.adapter;

import org.junit.jupiter.api.Test;

/**
 * <p>
 * xxxxx
 * </p>
 * <p>
 * Copyright:2021.All rights reserved.
 * </p>
 * <p>
 * Company:Zsoft
 * </p>
 * <p>
 * CreateDate:2021-05-21 13:11
 * </p>
 *
 * @author YuGongWen
 * @history Mender:YuGongWen；Date:2021-05-21 13:11；
 */
public class TestAdapterPattern {
    
    @Test
    public void test() {
        AudioPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3", "beyond the horizon.mp3");
        audioPlayer.play("mp4", "alone.mp4");
        audioPlayer.play("vlc", "far far away.vlc");
        audioPlayer.play("avi", "mind me.avi");
    }
}